#/bin/sh

mvn eclipse:clean eclipse:eclipse

pushd webapps > /dev/null
for d in $( ls -1 -d */ ); do
  echo processing webapp: $d
  pushd $d > /dev/null
  rm -rf war
  cp -r src/main/webapp war
  popd > /dev/null
done

popd > /dev/null

